package com.maimang.platform.controller.monitor;

import com.maimang.platform.base.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname DruidController
 * @description Druid数据池监控
 * @date 2019-04-25 11:37
 * @email jintaozhao@qq.com
 */
@Controller
@RequestMapping("/monitor/data")
public class DruidController extends BaseController {

	private String prefix = "/monitor/druid";

	@RequiresPermissions("monitor:data:view")
	@GetMapping()
	public String index() {
		return redirect(prefix + "/index");
	}
}
